package org.gensokyo.crawler

import java.io.File

/**
  * Created by liusen on 2/14/17.
  */
object Start {
  def main(args: Array[String]): Unit = {
    val l = io.Source.fromFile(new File("""/home/liusen/Downloads/1.txt""")).getLines().mkString("\n")
    val ll = l.replaceAll("""(?<![\n])\n""","""""")
    scala.tools.nsc.io.File("1.txt").writeAll(ll)
  }
}
